<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-withdraw-edit" th:object="${withdraw}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户ID号：</label>
                <div class="col-sm-8">
                    <input id="memberId" name="memberId" th:field="*{memberId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">提现时间：</label>
                <div class="col-sm-8">
                    <input id="withdrawTime" name="withdrawTime" th:field="*{withdrawTime}" class="form-control" type="date">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">提现金额：</label>
                <div class="col-sm-8">
                    <input id="withdrawMoney" name="withdrawMoney" th:field="*{withdrawMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">到账时间：</label>
                <div class="col-sm-8">
                    <input id=" accountTime" name="accountTime" th:field="*{accountTime}" class="form-control" type="date">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">到账金额：</label>
                <div class="col-sm-8">
                    <input id=" accountMoney" name="accountMoney" th:field="*{accountMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">到账银行卡号：</label>
                <div class="col-sm-8">
                    <input id="bankCardNum" name="bankCardNum" th:field="*{bankCardNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">提现状态：</label>
               <!-- <div class="col-sm-8">
                    <input id="status" name="status" th:field="*{status}" class="form-control" type="text">
                </div>-->
                <div class="col-sm-8">
                    <select id="status" name="status" class="form-control m-b" th:with="type=${@dict.getType('pay_rank_status')}">
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                    </select>
                </div>
            </div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "sj/withdraw"
		$("#form-withdraw-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-withdraw-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
